package com.wanxi.service.impl;

import com.wanxi.service.FrontCaseService;
import com.wanxi.entity.CaseQuery;
import com.wanxi.feign.CaseFeignClient;
import com.wanxi.result.CommonResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FrontCaseServiceImpl  implements FrontCaseService {

    @Autowired
    private CaseFeignClient caseFeignClient;

    @Override
    public CommonResult findCase(CaseQuery caseQuery) {
        return caseFeignClient.findCase(caseQuery);
    }
}
